package com.sunducation.wts.lifecycle

import android.app.Application
import android.util.Log
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.OnLifecycleEvent

class MyActivityLifeCycleObserver : LifecycleObserver{
    private val TAG:String = "MyALCO";

    @OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
    private fun testResume(){
        Log.i(TAG,"testResume");
    }

    @OnLifecycleEvent(Lifecycle.Event.ON_PAUSE)
    private fun testPause(){
        Log.i(TAG,"testPause");
    }

}